net/http.http2pipe.CloseWithError (method)
9 uses
net/http (current package)
h2_bundle.go#L4028: func (p *http2pipe) CloseWithError(err error) { p.closeWithError(&p.err, err, nil) }
h2_bundle.go#L5798: p.CloseWithError(err)
h2_bundle.go#L5959: st.body.CloseWithError(fmt.Errorf("sender tried to send more than declared Content-Length of %d bytes", st.declBodyBytes))
h2_bundle.go#L6027: st.body.CloseWithError(fmt.Errorf("request declared a Content-Length of %d but only wrote %d bytes",
h2_bundle.go#L6031: st.body.CloseWithError(io.EOF)
h2_bundle.go#L6053: st.body.CloseWithError(fmt.Errorf("%w", os.ErrDeadlineExceeded))
h2_bundle.go#L9187: cs.bufPipe.CloseWithError(err) // no-op if already closed
h2_bundle.go#L9192: cs.bufPipe.CloseWithError(http2errRequestCanceled)
h2_bundle.go#L10654: cs.bufPipe.CloseWithError(serr)
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)